﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
    <style>
        div > span {
            color: red;
        }
        div span {
            background-color: yellow;
        }
        #onlyone {
            color: navy;
        }
        .hasborder {
            border: 3px solid green;
        }
    </style>
</head>
<body>
    <span>Outer: Hi, there!</span>
    <a>Hello?</a>
    <span>Are you OK?</span>
    <div>
        <span>Only 1 Div: Hi, there!</span>
        <a class="hasborder">Hello?</a>
        <span id="onlyone">Are you OK?</span>
    </div>
    <div>
        <div>
            <span>2 Nested Divs: Hi, there!</span>
            <a>Hello?</a>
            <span>Are you OK?</span>
        </div>
    </div>
    <div>
        <p>
            <span>Div, P: Hi, there!</span>
            <a class="hasborder">Hello?</a>
            <span>Are you OK?</span>
        </p>
    </div>
</body>
</html>
